package com.ruoyi.points.pointsAccessDetail.mapper;

import java.util.List;
import com.ruoyi.points.pointsAccessDetail.domain.PointsAccessDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * 积分详情Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-07
 */
@Mapper
public interface PointsAccessDetailMapper 
{
    /**
     * 查询积分详情
     * 
     * @param id 积分详情主键
     * @return 积分详情
     */
    public PointsAccessDetail selectPointsAccessDetailById(Long id);

    /**
     * 查询积分详情列表
     * 
     * @param pointsAccessDetail 积分详情
     * @return 积分详情集合
     */
    public List<PointsAccessDetail> selectPointsAccessDetailList(PointsAccessDetail pointsAccessDetail);

    /**
     * 新增积分详情
     * 
     * @param pointsAccessDetail 积分详情
     * @return 结果
     */
    public int insertPointsAccessDetail(PointsAccessDetail pointsAccessDetail);

    /**
     * 修改积分详情
     * 
     * @param pointsAccessDetail 积分详情
     * @return 结果
     */
    public int updatePointsAccessDetail(PointsAccessDetail pointsAccessDetail);

    /**
     * 删除积分详情
     * 
     * @param id 积分详情主键
     * @return 结果
     */
    public int deletePointsAccessDetailById(Long id);

    /**
     * 批量删除积分详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePointsAccessDetailByIds(Long[] ids);

    public int selectCountById(PointsAccessDetail pointsAccessDetail);
}
